/**
 * 
 */
package com.maohi.software.arii.test.ariimodule;

import java.util.List;

import com.google.inject.Inject;
import com.maohi.software.arii.annotations.Extension;
import com.maohi.software.arii.annotations.JaxB;
import com.maohi.software.arii.test.extension.points.TestExtensionPoint;
import com.maohi.software.arii.test.extension.points.TestExtensionPoint2;
import com.maohi.software.arii.test.jaxb2.Tasks;

/**
 * @author heifara
 * 
 */
public class Bean {

	private String stringB;
	private Double doubleB;

	@Inject
	@Extension("Test")
	private List<TestExtensionPoint> testExtensionPoint;

	@Inject
	@Extension("OtherTest")
	private List<TestExtensionPoint> otherTestExtensionPoint;

	@Inject
	@Extension("Test2")
	private List<TestExtensionPoint2> test2ExtensionPoint;

	@Inject
	@JaxB("task")
	private List<Tasks> tasks;

	public Bean() {
	}

	public Bean(String stringB, Double doubleB) {
		super();
		this.stringB = stringB;
		this.doubleB = doubleB;
	}

	public Double getDoubleB() {
		return this.doubleB;
	}

	public String getStringB() {
		return this.stringB;
	}

	public void setDoubleB(Double doubleB) {
		this.doubleB = doubleB;
	}

	public void setStringB(String stringB) {
		this.stringB = stringB;
	}

	@Override
	public String toString() {
		StringBuilder builder = new StringBuilder();
		builder.append("Bean [stringB=");
		builder.append(stringB);
		builder.append(", doubleB=");
		builder.append(doubleB);
		builder.append(", testExtensionPoint=");
		builder.append(testExtensionPoint);
		builder.append(", otherTestExtensionPoint=");
		builder.append(otherTestExtensionPoint);
		builder.append(", test2ExtensionPoint=");
		builder.append(test2ExtensionPoint);
		builder.append(", tasks=");
		builder.append(tasks);
		builder.append("]");
		return builder.toString();
	}

}
